import VueRouter from 'vue-router'
import Vue from 'vue'
import loginView from '@/view/Login/loginView' //登录页面view
import MenuIndex from "@/view/Menu/MenuIndex";
import bigScene from "@/view/bigScene/bigScene";
import landPlan from "@/view/landPlan/landPlan";
import societyPlan from "@/view/societyPlan/societyPlan";
import keyProjects from "@/view/keyProjects/keyProjects";
import projectScheduling from "@/view/projectScheduling/projectScheduling";
Vue.use(VueRouter)

const routes = [
    {
        path:'/',
        redirect:'/login'
    },
    {
        path:'/login',
        component:loginView
    },
    {
        path: '/MenuIndex',
        component: MenuIndex
    },
    {
        path: '/baseInfo',
        component: bigScene
    },
    {
        path:"/landPlan",
        component: landPlan
    },
    {
        path:'/societyPlan',
        component: societyPlan
    },
    {
        path:'/keyProjects',
        component: keyProjects
    },
    {
        path: '/projectScheduling',
        component: projectScheduling
    }
]

const router = new VueRouter({
    routes
})

export default router
